package
{
	import com.ujinsung.norebang.LyricsGenerator;
	
	import flash.display.Sprite;
	import flash.events.Event;
	
	public class NorebangMain extends Sprite
	{
		private var _lyrics:LyricsGenerator;
		public function NorebangMain()
		{
			_lyrics = new LyricsGenerator( 5, 6 );
			_lyrics.addEventListener( LyricsGenerator.COMPLETE, onLyricsComplete );
			
		}
		
		private function onLyricsComplete( e:Event ) :void {
			trace ( "here is nouns: " + _lyrics.getNouns() );
			trace ( "here is verbs: " + _lyrics.getVerbs() ); 
		}

	}
}